package com.tencreat.mapper.account;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tencreat.domain.account.MallSupplier;
import com.tencreat.domain.account.vo.MallSupplierRespVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 【请填写功能名称】Mapper接口
 *
 * @author tencreat
 * @date 2021-09-17
 */
public interface MallSupplierMapper extends BaseMapper<MallSupplier> {

    @InterceptorIgnore(tenantLine = "1")
    IPage<MallSupplierRespVo> queryAll(@Param("page") Page<MallSupplier> page, @Param("param") MallSupplier supplier);

    Long selectApprovalStatus(Long uuid);

    List<MallSupplier> selectByUserName(String userName);
}
